﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Repeater.ascx.cs" Inherits="App_Recherche.UserControl"
    ClassName="Rpt" %>
<asp:Repeater ID="rptPersonnes" runat="server">
    <HeaderTemplate>
        <table>
            <tr bgcolor="#DFDFDF">
                <td>
                    Id
                </td>
                <td>
                    Nom
                </td>
                <td>
                    Email
                </td>
                <td>
                    Ville
                </td>
                <td>
                    Date de naissance
                </td>
                <td>
                    Agence
                </td>
                <td>
                    Edition
                </td>
                <td>
                    Suppression
                </td>
                <td>
                    Contacter
                </td>
            </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr id="Tr1" runat="server" style="background-color: #FEFEFE">
            <td id="Id" runat="server">
                <asp:Label ID="lblId" runat="server"></asp:Label>
            </td>
            <td id="Nom" runat="server">
                <asp:Label ID="lblNom" runat="server"></asp:Label>
            </td>
            <td id="Email" runat="server">
                <asp:Label ID="lblEmail" runat="server"></asp:Label>
            </td>
            <td id="Ville" runat="server">
                <asp:Label ID="lblVille" runat="server"></asp:Label>
            </td>
            <td id="DateNaiss" runat="server">
                <asp:Label ID="lblDate" runat="server"></asp:Label>
            </td>
            <td id="Agence" runat="server">
                <asp:Label ID="lblAgence" runat="server"></asp:Label>
            </td>
            <td id="Td1" runat="server">
                <asp:HyperLink ID="LienEdit" NavigateUrl="~/Page_aspx/Edition.aspx?id=" runat="server">
                                <img class="edition" src="../images/stylo.png" alt="Edition" /></a>
                </asp:HyperLink>
            </td>
            <td id="Td2" runat="server">
                <asp:HyperLink ID="LienSup" NavigateUrl="~/Page_aspx/Suppression.aspx?id=" runat="server">
                                <img class="suppression" src="../images/croix.png" alt="suppression" /></a>
                </asp:HyperLink>
            </td>
            <td id="Td3" runat="server">
                <asp:HyperLink ID="LienContact" NavigateUrl="~/Page_aspx/Contact.aspx?id=" runat="server">
                    <img class="contact" src="../images/email.gif" alt="contact" /></a>
                </asp:HyperLink>
            </td>
        </tr>
    </ItemTemplate>
    <AlternatingItemTemplate>
        <tr id="Tr1" style="background-color: #DFDFDF" runat="server">
            <td id="Id" runat="server">
                <asp:Label ID="lblId" runat="server"></asp:Label>
            </td>
            <td id="Nom" runat="server">
                <asp:Label ID="lblNom" runat="server"></asp:Label>
            </td>
            <td id="Email" runat="server">
                <asp:Label ID="lblEmail" runat="server"></asp:Label>
            </td>
            <td id="Ville" runat="server">
                <asp:Label ID="lblVille" runat="server"></asp:Label>
            </td>
            <td id="DateNaiss" runat="server">
                <asp:Label ID="lblDate" runat="server"></asp:Label>
            </td>
            <td id="Agence" runat="server">
                <asp:Label ID="lblAgence" runat="server"></asp:Label>
            </td>
            <td id="Td1" runat="server">
                <asp:HyperLink ID="LienEdit" NavigateUrl="~/Page_aspx/Edition.aspx?id=" runat="server">
                                <img class="edition" src="../images/stylo.png" alt="Edition" /></a>
                </asp:HyperLink>
            </td>
            <td id="Td2" runat="server">
                <asp:HyperLink ID="LienSup" NavigateUrl="~/Page_aspx/Suppression.aspx?id=" runat="server">
                                <img class="suppression" src="../images/croix.png" alt="suppression" /></a>
                </asp:HyperLink>
            </td>
            <td id="Td3" runat="server">
                <asp:HyperLink ID="LienContact" NavigateUrl="~/Page_aspx/Contact.aspx?id=" runat="server">
                    <img class="contact" src="../images/email.gif" alt="contact" /></a>
                </asp:HyperLink>
            </td>
        </tr>
    </AlternatingItemTemplate>
    <FooterTemplate>
        </table></FooterTemplate>
</asp:Repeater>
